Spread WPF Documentation
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcDays360Function Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 2 - 3 items: start_date, end_date, [method].

Start_date is a date that represents the start date.

End_date is a date that represents the start date.

[Method] is a logical value that specifies whether to use the U.S. or European method in the calculation.

Returns the number of days between two dates based on a 360-day year (twelve 30-day months), which is used in some accounting calculations.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As System.Object _
) As System.Object
'Usage
 
Dim instance As CalcDays360Function
Dim args() As System.Object
Dim value As System.Object
 
value = instance.Evaluate(args)
public override System.object Evaluate( 
   System.object[] args
)

Parameters

args

The args contains 2 - 3 items: start_date, end_date, [method].

Start_date is a date that represents the start date.

End_date is a date that represents the start date.

[Method] is a logical value that specifies whether to use the U.S. or European method in the calculation.

Return Value

A System.Int32 value that indicates the evaluate result.
See Also

Reference

CalcDays360Function Class
CalcDays360Function Members
Overload List